home *** CD-ROM | disk | FTP | other *** search
/ Galaxy of Games (Gold) / goggold.iso / IE5 / U.S. English / IEW2K_3.CAB / shdoclc.dll / HTML / FIND.DLG < prev    next >
Text File  |  2000-03-30  |  6KB  |  168 lines

  1. <HTML id=dlgFind STYLE="font-family: MS Shell Dlg; font-size: 8pt;
  2. width: 33.5em; height: 11.2em">
  3. <HEAD>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. <TITLE id=dialogTitle>
  6. Find
  7. </TITLE>
  8. <SCRIPT LANGUAGE="JavaScript" defer src="findinc.dlg">
  9. </SCRIPT>
  10. <SCRIPT LANGUAGE="JavaScript" defer>
  11. function findFlags()
  12. {
  13. var htmlMatchWord = 2;
  14. var htmlMatchCase = 4;
  15. var htmlMatchDiacritic = 536870912; 
  16. var htmlMatchKashida = 1073741824; 
  17. var htmlMatchAlefHamza = 2147483648; 
  18. return (htmlMatchWord * document.all.chkWholeWord.checked)
  19.  | (htmlMatchCase * document.all.chkMatchCase.checked)
  20.  | htmlMatchDiacritic | htmlMatchKashida | htmlMatchAlefHamza;
  21. function loadBdy()
  22. {
  23. btnFind.onclick  = new 
  24.  Function("btnFindClick()");
  25. btnFind.ondblclick = new
  26.  Function("btnFindClick()");
  27. btnCancel.onclick = new Function("btnCancelClick2()");
  28. document.onhelp  = new Function("callHelp(window.event.srcElement)");
  29. document.onmouseup = new Function("mouseClick()");
  30. txtFindText.onpropertychange = new Function("setFindState(true)");
  31. txtFindText.onfocus = new Function("txtFindText.select()");
  32. txtFindText.onkeypress = new Function("txtDefaultESC()");
  33. g_fFindStartPoint = true;
  34. if ("" != window.dialogArguments.findText)
  35. {
  36.  txtFindText.value = window.dialogArguments.findText;
  37. }
  38. txtFindText.focus();
  39. txtFindText.select();
  40. function findStartPoint()
  41. {
  42. if (g_fFindStartPoint)
  43. {
  44.  g_fFindStartPoint = false;
  45.     var win = window.dialogArguments.unsecuredWindowOfDocument;
  46.     var doc = window.dialogArguments.document;
  47.  if (!g_fError && win.frames.length)
  48.  {
  49.   var win2;
  50.   g_fFrameset = true;
  51.   g_arrFrames[0] = 0;
  52.   g_arrFrames[1] = -1;
  53.   win2 = CrawlPath();
  54.   window.onerror = FindHandleError;
  55.   doc2 = win2.document;
  56.   window.onerror = HandleError;
  57.   while (doc2.selection.type == "None")
  58.   {
  59.    if (MoveDoc(true))
  60.    {
  61.     win2 = CrawlPath();
  62.     doc2 = win2.document;
  63.    }
  64.    else 
  65.    {
  66.     g_arrFrames[0] = 0;
  67.     g_arrFrames[1] = -1;
  68.     break;
  69.    }
  70.   }
  71.   doc = GetFirstDoc();
  72.   g_docLastFound = doc;
  73.  }
  74.  if (doc.selection.type == "Control")
  75.  {
  76.   var r = doc.selection.createRange();
  77.   r = getTextRange(r(0));
  78.   r.select();
  79.  }
  80. }
  81. </SCRIPT>
  82. </HEAD>
  83. <BODY ID=bdy onload="loadBdy()" style="color: windowtext;
  84. font-family: 'MS Shell Dlg';
  85. font-size: 8pt; background: threedface; " topmargin=0 scroll=no>
  86. <BUTTON id=btnFind ACCESSKEY=f DISABLED=1 tabIndex=55 helpid=50026
  87. helpfile="iexplore.hlp"
  88. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  89. left: 24.78em; top: 1.0647em; width: 7em; height: 2.2em; " type=submit>
  90. <U>F</U>ind Next
  91. </BUTTON>
  92. <DIV align=absMiddle id=divFindText
  93. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  94. left: 0.98em; top: 1.2168em; width: 4.8em; height: 1.2168em; ">
  95. <LABEL FOR=txtFindText ID=lblFindText tabIndex=-1 helpid=50027
  96. helpfile="iexplore.hlp">
  97. Fi<U>n</U>d what:
  98. </LABEL>
  99. </DIV>
  100. <INPUT type=text id=txtFindText ACCESSKEY=n tabIndex=15 helpid=50027
  101. helpfile="iexplore.hlp"
  102. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  103. left: 6.16em; top: 1.0647em; width: 17.36em; height: 2.1294em; ">
  104. <BUTTON id=btnCancel tabIndex=60 helpid="0x6F1C" helpfile="windows.hlp"
  105. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  106. left: 24.78em; top: 3.6504em; width: 7em; height: 2.2em; " type=reset>
  107. Cancel
  108. </BUTTON>
  109. <INPUT id=chkWholeWord ACCESSKEY=w type=checkbox tabIndex=25 
  110. helpfile="iexplore.hlp" helpid=50022
  111. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  112. left: 1em; top: 4.2em; width: 1.2em; height: 1.2em;">
  113. <INPUT ACCESSKEY=c type=checkbox tabIndex=35 helpid=50023
  114. helpfile="iexplore.hlp"
  115. id=chkMatchCase style="font-family: MS Shell Dlg; font-size: 8pt;
  116. position: absolute; left: 1em; top: 6em; width: 1.2em; height: 1.2em;">
  117. <DIV id=divWholeWord
  118. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  119. left: 2.6em; top: 4.2588em; width: 12.46em; height: 1.521em; ">
  120. <LABEL FOR=chkWholeWord ID=lblWholeWord tabIndex=-1 helpid=50022
  121. helpfile="iexplore.hlp">
  122. Match <U>w</U>hole word only
  123. </LABEL>
  124. </DIV>
  125. <DIV id=divMatchCase style="font-family: MS Shell Dlg; font-size: 8pt;
  126. position: absolute; left: 2.6em; top: 6.084em; width: 7.42em; 
  127. height: 1.521em; ">
  128. <LABEL FOR=chkMatchCase ID=lblMatchCase tabIndex=-1 helpid=50023
  129. helpfile="iexplore.hlp">
  130. Match <U>c</U>ase
  131. </LABEL>
  132. </DIV>
  133. <FIELDSET id=fldDirection style="font-family: MS Shell Dlg; font-size: 8pt; 
  134. position: absolute; left: 13.7em; top: 3.5em; width: 9.7em; 
  135. height: 4.2em;">
  136. <LEGEND id=lgdDirection>
  137. Direction
  138. </LEGEND>
  139. </FIELDSET>
  140.  <INPUT id=radDirectionUp type=radio name=radDirection ACCESSKEY=u
  141.  tabIndex=42 helpid=50025 helpfile="iexplore.hlp"
  142.  style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  143.  left: 14.6em; top: 5.4em; width: 1.2em; height: 1.2em; ">
  144.  <DIV id=divDirectionUp style="font-family: MS Shell Dlg; 
  145.  font-size: 8pt; position: absolute; left: 16.2em; top: 5.3235em; 
  146.  width: 3.5em; height: 1.521em; ">
  147.  <LABEL ID=lblDirectionUp style="font-family: 'MS Shell Dlg'; font-size: 8pt"
  148.  FOR=radDirectionUp
  149.  helpid=50025
  150.  helpfile="iexplore.hlp"> <U>U</U>p </LABEL>
  151.  </DIV>
  152.  <INPUT id=radDirectionDown type=radio CHECKED name=radDirection
  153.  ACCESSKEY=d tabIndex=47 helpid=50024 helpfile="iexplore.hlp"
  154.  style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  155.  left: 18.5em; top: 5.4em; width: 1.2em; height: 1.2em; ">
  156.  <DIV id=divDirectionDown style="font-family: MS Shell Dlg; 
  157.  font-size: 8pt; position: absolute; left: 20.1em; top: 5.3em; 
  158.  width: 4.9em; height: 1.521em; ">
  159.  <LABEL ID=lblDirectionDown style="font-family: 'MS Shell Dlg'; font-size: 8pt"
  160.  FOR=radDirectionDown helpid=50024 helpfile="iexplore.hlp"> 
  161.  <U>D</U>own </LABEL>
  162.  </DIV>
  163. </BODY>
  164. </HTML>
  165.